package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 短信订单对象 shanglala_order_sms
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class OrderSms
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long smsOrderId;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Long dateline;

    /** 购买人uid */
    @Excel(name = "购买人uid")
    private Long uid;

    /** 支付人openid */
    @Excel(name = "支付人openid")
    private String payOpenid;

    /** 短信支付订单号，格式：SMSPAY_生成另外订单号 */
    @Excel(name = "短信支付订单号，格式：SMSPAY_生成另外订单号")
    private String smspayNo;

    /** 交易流水号  */
    @Excel(name = "交易流水号 ")
    private String tradeNo;

    /** 短信单价(单位：分) */
    @Excel(name = "短信单价(单位：分)")
    private Long smsPrice;

    /** 购买短信数量 */
    @Excel(name = "购买短信数量")
    private Long smsNum;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal money;

    /** 支付人姓名 */
    @Excel(name = "支付人姓名")
    private String name;

    /** 支付人留言 */
    @Excel(name = "支付人留言")
    private String content;

    /** 支付时间 */
    @Excel(name = "支付时间")
    private Long payDateline;

    /** 第三方支付ID */
    @Excel(name = "第三方支付ID")
    private String thirdId;

    /** 第三方支付返回内容 */
    @Excel(name = "第三方支付返回内容")
    private String thirdData;

    /** 支付状态，0：未支付，1：已支付 */
    @Excel(name = "支付状态，0：未支付，1：已支付")
    private Integer status;

    public void setSmsOrderId(Long smsOrderId) 
    {
        this.smsOrderId = smsOrderId;
    }

    public Long getSmsOrderId() 
    {
        return smsOrderId;
    }
    public void setDateline(Long dateline) 
    {
        this.dateline = dateline;
    }

    public Long getDateline() 
    {
        return dateline;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setPayOpenid(String payOpenid) 
    {
        this.payOpenid = payOpenid;
    }

    public String getPayOpenid() 
    {
        return payOpenid;
    }
    public void setSmspayNo(String smspayNo) 
    {
        this.smspayNo = smspayNo;
    }

    public String getSmspayNo() 
    {
        return smspayNo;
    }
    public void setTradeNo(String tradeNo) 
    {
        this.tradeNo = tradeNo;
    }

    public String getTradeNo() 
    {
        return tradeNo;
    }
    public void setSmsPrice(Long smsPrice) 
    {
        this.smsPrice = smsPrice;
    }

    public Long getSmsPrice() 
    {
        return smsPrice;
    }
    public void setSmsNum(Long smsNum) 
    {
        this.smsNum = smsNum;
    }

    public Long getSmsNum() 
    {
        return smsNum;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPayDateline(Long payDateline) 
    {
        this.payDateline = payDateline;
    }

    public Long getPayDateline() 
    {
        return payDateline;
    }
    public void setThirdId(String thirdId) 
    {
        this.thirdId = thirdId;
    }

    public String getThirdId() 
    {
        return thirdId;
    }
    public void setThirdData(String thirdData) 
    {
        this.thirdData = thirdData;
    }

    public String getThirdData() 
    {
        return thirdData;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("smsOrderId", getSmsOrderId())
            .append("dateline", getDateline())
            .append("uid", getUid())
            .append("payOpenid", getPayOpenid())
            .append("smspayNo", getSmspayNo())
            .append("tradeNo", getTradeNo())
            .append("smsPrice", getSmsPrice())
            .append("smsNum", getSmsNum())
            .append("money", getMoney())
            .append("name", getName())
            .append("content", getContent())
            .append("payDateline", getPayDateline())
            .append("thirdId", getThirdId())
            .append("thirdData", getThirdData())
            .append("status", getStatus())
            .toString();
    }
}
